package com.heima.model.comment.dtos;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@NotNull(message = "CommentLikeDTO 不能为空")
public class CommentLikeDTO {

    /**
     * 评论id
     */
    @NotNull(message = "commentId 不能为空")
    private String commentId;

    /**
     * 0：点赞
     * 1：取消点赞
     */
    private Short operation;
}